import { request } from '../../utils/request'

export const client = {
  List: data => {
    return request({
      url: '/adminapp/client',
      data,
      hideToast: true
    })
  },
  shopList: data => {
    return request({
      url: '/shop/goods/shop-list',
      data,
      hideToast: true
    })
  },
  coupon: data => {
    return request({
      url: '/adminapp/client-coupon',
      data,
      hideToast: true
    })
  },
  changeStatus: data => {
    return request({
      url: '/adminapp/client-change-status',
      data,
      hideToast: true
    })
  },
  clientAllot: data => {
    return request({
      url: '/adminapp/client-allot',
      data,
      hideToast: true
    })
  },
  clientAllotShop: data => {
    return request({
      url: '/adminapp/client-allot-shop',
      data,
      hideToast: true
    })
  }
}
